#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved

LANG2ID_15 = {
    "ar": 0,
    "bg": 1,
    "de": 2,
    "el": 3,
    "en": 4,
    "es": 5,
    "fr": 6,
    "hi": 7,
    "ru": 8,
    "sw": 9,
    "th": 10,
    "tr": 11,
    "ur": 12,
    "vi": 13,
    "zh": 14,
}

LANG2ID_20 = {
    "ar": 0,
    "bn": 1,
    "de": 2,
    "en": 3,
    "es": 4,
    "fr": 5,
    "hi": 6,
    "id": 7,
    "it": 8,
    "ko": 9,
    "my": 10,
    "pl": 11,
    "pt": 12,
    "ru": 13,
    "sw": 14,
    "th": 15,
    "tl": 16,
    "tr": 17,
    "vi": 18,
    "zh": 19,
}


LANG2ID_43 = {
    "ar_AR": 0,
    "bg_BG": 1,
    "bn_IN": 2,
    "da_DK": 3,
    "de_DE": 4,
    "el_GR": 5,
    "en_XX": 6,
    "es_XX": 7,
    "fa_IR": 8,
    "fr_XX": 9,
    "he_IL": 10,
    "hi_IN": 11,
    "hu_HU": 12,
    "id_ID": 13,
    "it_IT": 14,
    "ja_XX": 15,
    "km_KH": 16,
    "kn_IN": 17,
    "ko_KR": 18,
    "lt_LT": 19,
    "ml_IN": 20,
    "mr_IN": 21,
    "ms_MY": 22,
    "my_MM": 23,
    "nl_XX": 24,
    "pa_IN": 25,
    "pl_PL": 26,
    "ps_AF": 27,
    "pt_XX": 28,
    "ro_RO": 29,
    "ru_RU": 30,
    "si_LK": 31,
    "sv_SE": 32,
    "sw_KE": 33,
    "ta_IN": 34,
    "te_IN": 35,
    "th_TH": 36,
    "tl_XX": 37,
    "tr_TR": 38,
    "ur_PK": 39,
    "vi_VN": 40,
    "zh_TW": 41,
    "zh_CN": 42,
}
